home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / libraries / resource.m < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-03  |  267 b   |  12 lines

  1. #ifndef LIBRARIES_RESOURCE
  2. #define LIBRARIES_RESOURCE 
  3.  
  4. TDEF  RESOURCEFILE:APTR
  5. TDEF  RESOURCEID:ULONG
  6.  
  7. #define RL_GADGETMASK  $03FF
  8. #define RL_GROUPMASK   $FC00
  9. #define RL_GADGETID(x ) ((x) & RL_GADGETMASK)
  10. #define RL_GROUPID(x ) (((x) & RL_GROUPMASK) >> 10)
  11. #endif
  12.